package com.bnlr.lrparking.model;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * Created by tian on 2017/11/27.
 */

public class StallDetailBean {


    /**
     * errorCode : 0
     * msgcode : 1
     * msg : 成功
     * data : [{"Id":57737,"Type":"出售","TypeInt":11,"CityId":410100,"Title":"出售 中基都市春天 13平米","Area":"惠济区","Address":"南阳路博颂路交叉口中基都市春天","AreaId":450017,"Size":13,"Price":"80000 元","Status":"待售","StatusInt":2,"CommonNumber":"HENZZSHUJ-2931F981","SpaceType":22,"SpaceTypeString":"标准车位","Description":"","UserName":"","Phone":"","SpaceOwerType":1,"Number":"","UserId":0,"ParkingId":3356,"CreateTime":"2017-10-20 15:50:56","CounterPhone":"","CounterUserName":"","PhotoUrl":"http://91tcw.cn/upload/201710/23/201710231542567586.jpg ","IsFavorite":0,"Longitude":113.689164,"Latitude":34.791323,"SpaceAdvan":"","FloorNum":"","ParkingName":"中基都市春天","LocalPhoto":[{"photoUrl":"http://91tcw.cn/upload/201710/23/201710231538411644.jpg "}],"UserModel":null,"DevelopModel":[{"Row":1,"Id":185,"Name":"郑州中基建设投资有限公司","Phone":"","Photo":"http://91tcw.cn/upload/201710/20/201710201806335366.png ","City":"郑州市","Address":"","BeginTime":"2017-10-20 00:00:00","SoldCount":294,"TotalCount":600,"RentingCount":0,"RentedCount":0}],"TendChartX":"2017.07,2017.08,2017.09,2017.10,2017.11,2017.12","TendChartY":"141414,151515,161616,151515,121212,191919","FixedChartY":"119000,155000,191000,227000,263000,299000","ParkChartX":"7月,8月,9月,10月,11月,12月","ParkChartY":"66666,88888,77777,101010,111111,55555","FixedParkChartY":"53000,81000,109000,137000,165000,193000","PhotoList":[{"photoUrl":"http://91tcw.cn/upload/201710/23/201710231542567586.jpg "},{"photoUrl":"http://91tcw.cn/upload/201710/23/201710231542569773.jpg "},{"photoUrl":"http://91tcw.cn/upload/201710/23/201710231542572293.jpg "},{"photoUrl":"http://91tcw.cn/upload/201710/23/201710231542575105.jpg "},{"photoUrl":"http://91tcw.cn/upload/201710/23/201710231542577907.jpg "},{"photoUrl":"http://91tcw.cn/upload/201710/23/201710231542580660.jpg "},{"photoUrl":"http://91tcw.cn/upload/201710/23/201710231542583755.jpg "}],"Discount":[]}]
     * recordCount : 0
     */

    private int errorCode;
    private String msgcode;
    private String msg;
    private int recordCount;
    private List<DataBean> data;

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public String getMsgcode() {
        return msgcode;
    }

    public void setMsgcode(String msgcode) {
        this.msgcode = msgcode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getRecordCount() {
        return recordCount;
    }

    public void setRecordCount(int recordCount) {
        this.recordCount = recordCount;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * Id : 57737
         * Type : 出售
         * TypeInt : 11
         * CityId : 410100
         * Title : 出售 中基都市春天 13平米
         * Area : 惠济区
         * Address : 南阳路博颂路交叉口中基都市春天
         * AreaId : 450017
         * Size : 13
         * Price : 80000 元
         * Status : 待售
         * StatusInt : 2
         * CommonNumber : HENZZSHUJ-2931F981
         * SpaceType : 22
         * SpaceTypeString : 标准车位
         * Description :
         * UserName :
         * Phone :
         * SpaceOwerType : 1
         * Number :
         * UserId : 0
         * ParkingId : 3356
         * CreateTime : 2017-10-20 15:50:56
         * CounterPhone :
         * CounterUserName :
         * PhotoUrl : http://91tcw.cn/upload/201710/23/201710231542567586.jpg
         * IsFavorite : 0
         * Longitude : 113.689164
         * Latitude : 34.791323
         * SpaceAdvan :
         * FloorNum :
         * ParkingName : 中基都市春天
         * LocalPhoto : [{"photoUrl":"http://91tcw.cn/upload/201710/23/201710231538411644.jpg "}]
         * UserModel : null
         * DevelopModel : [{"Row":1,"Id":185,"Name":"郑州中基建设投资有限公司","Phone":"","Photo":"http://91tcw.cn/upload/201710/20/201710201806335366.png ","City":"郑州市","Address":"","BeginTime":"2017-10-20 00:00:00","SoldCount":294,"TotalCount":600,"RentingCount":0,"RentedCount":0}]
         * TendChartX : 2017.07,2017.08,2017.09,2017.10,2017.11,2017.12
         * TendChartY : 141414,151515,161616,151515,121212,191919
         * FixedChartY : 119000,155000,191000,227000,263000,299000
         * ParkChartX : 7月,8月,9月,10月,11月,12月
         * ParkChartY : 66666,88888,77777,101010,111111,55555
         * FixedParkChartY : 53000,81000,109000,137000,165000,193000
         * PhotoList : [{"photoUrl":"http://91tcw.cn/upload/201710/23/201710231542567586.jpg "},{"photoUrl":"http://91tcw.cn/upload/201710/23/201710231542569773.jpg "},{"photoUrl":"http://91tcw.cn/upload/201710/23/201710231542572293.jpg "},{"photoUrl":"http://91tcw.cn/upload/201710/23/201710231542575105.jpg "},{"photoUrl":"http://91tcw.cn/upload/201710/23/201710231542577907.jpg "},{"photoUrl":"http://91tcw.cn/upload/201710/23/201710231542580660.jpg "},{"photoUrl":"http://91tcw.cn/upload/201710/23/201710231542583755.jpg "}]
         * Discount : []
         *
         */

        private int Id;
        private String Type;
        private int TypeInt;
        private int CityId;
        private String Title;
        private String Area;
        private String Address;
        private int AreaId;
        private Double Size;
        private String Price;
        private String Status;
        private int StatusInt;
        private String CommonNumber;
        private int SpaceType;
        private String SpaceTypeString;
        private String Description;
        private String UserName;
        private String Phone;
        private int SpaceOwerType;
        private String Number;
        private int UserId;
        private int ParkingId;
        private String CreateTime;
        private String CounterPhone;
        private String CounterUserName;
        private String PhotoUrl;
        private int IsFavorite;
        private double Longitude;
        private double Latitude;
        private String SpaceAdvan;
        private String FloorNum;
        private String ParkingName;
        private UserModelData UserModel;
        private String TendChartX;
        private String TendChartY;
        private String FixedChartY;
        private String ParkChartX;
        private String ParkChartY;
        private String FixedParkChartY;
        private String DateLine;
        private String IsHaveSpace;
        private String SpaceBuildTime;
        private String CollectTimes;
        private String ReadTimes;
        private List<LocalPhotoBean> LocalPhoto;
        private List<DevelopModelBean> DevelopModel;
        private List<PhotoListBean> PhotoList;
        private List<DiscountData> Discount;

        public String getIsHaveSpace() {
            return IsHaveSpace;
        }

        public String getSpaceBuildTime() {
            return SpaceBuildTime;
        }

        public int getId() {
            return Id;
        }

        public void setId(int Id) {
            this.Id = Id;
        }

        public String getType() {
            return Type;
        }

        public void setType(String Type) {
            this.Type = Type;
        }

        public int getTypeInt() {
            return TypeInt;
        }

        public void setTypeInt(int TypeInt) {
            this.TypeInt = TypeInt;
        }

        public int getCityId() {
            return CityId;
        }

        public void setCityId(int CityId) {
            this.CityId = CityId;
        }

        public String getTitle() {
            return Title;
        }

        public void setTitle(String Title) {
            this.Title = Title;
        }

        public String getArea() {
            return Area;
        }

        public void setArea(String Area) {
            this.Area = Area;
        }

        public String getAddress() {
            return Address;
        }

        public String getCollectTimes() {
            return CollectTimes;
        }

        public String getReadTimes() {
            return ReadTimes;
        }

        public void setAddress(String Address) {
            this.Address = Address;
        }

        public int getAreaId() {
            return AreaId;
        }

        public void setAreaId(int AreaId) {
            this.AreaId = AreaId;
        }

        public Double getSize() {
            return Size;
        }

        public void setSize(Double Size) {
            this.Size = Size;
        }

        public String getPrice() {
            return Price;
        }

        public void setPrice(String Price) {
            this.Price = Price;
        }

        public String getStatus() {
            return Status;
        }

        public void setStatus(String Status) {
            this.Status = Status;
        }

        public int getStatusInt() {
            return StatusInt;
        }

        public void setStatusInt(int StatusInt) {
            this.StatusInt = StatusInt;
        }

        public String getCommonNumber() {
            return CommonNumber;
        }

        public void setCommonNumber(String CommonNumber) {
            this.CommonNumber = CommonNumber;
        }

        public int getSpaceType() {
            return SpaceType;
        }

        public void setSpaceType(int SpaceType) {
            this.SpaceType = SpaceType;
        }

        public String getSpaceTypeString() {
            return SpaceTypeString;
        }

        public void setSpaceTypeString(String SpaceTypeString) {
            this.SpaceTypeString = SpaceTypeString;
        }

        public String getDescription() {
            return Description;
        }

        public void setDescription(String Description) {
            this.Description = Description;
        }

        public String getUserName() {
            return UserName;
        }

        public void setUserName(String UserName) {
            this.UserName = UserName;
        }

        public String getPhone() {
            return Phone;
        }

        public void setPhone(String Phone) {
            this.Phone = Phone;
        }

        public int getSpaceOwerType() {
            return SpaceOwerType;
        }

        public void setSpaceOwerType(int SpaceOwerType) {
            this.SpaceOwerType = SpaceOwerType;
        }

        public String getNumber() {
            return Number;
        }

        public void setNumber(String Number) {
            this.Number = Number;
        }

        public int getUserId() {
            return UserId;
        }

        public void setUserId(int UserId) {
            this.UserId = UserId;
        }

        public int getParkingId() {
            return ParkingId;
        }

        public void setParkingId(int ParkingId) {
            this.ParkingId = ParkingId;
        }

        public String getCreateTime() {
            return CreateTime;
        }

        public void setCreateTime(String CreateTime) {
            this.CreateTime = CreateTime;
        }

        public String getCounterPhone() {
            return CounterPhone;
        }

        public void setCounterPhone(String CounterPhone) {
            this.CounterPhone = CounterPhone;
        }

        public String getCounterUserName() {
            return CounterUserName;
        }

        public void setCounterUserName(String CounterUserName) {
            this.CounterUserName = CounterUserName;
        }

        public String getPhotoUrl() {
            return PhotoUrl;
        }

        public void setPhotoUrl(String PhotoUrl) {
            this.PhotoUrl = PhotoUrl;
        }

        public int getIsFavorite() {
            return IsFavorite;
        }

        public void setIsFavorite(int IsFavorite) {
            this.IsFavorite = IsFavorite;
        }

        public double getLongitude() {
            return Longitude;
        }

        public void setLongitude(double Longitude) {
            this.Longitude = Longitude;
        }

        public double getLatitude() {
            return Latitude;
        }

        public void setLatitude(double Latitude) {
            this.Latitude = Latitude;
        }

        public String getSpaceAdvan() {
            return SpaceAdvan;
        }

        public void setSpaceAdvan(String SpaceAdvan) {
            this.SpaceAdvan = SpaceAdvan;
        }

        public String getFloorNum() {
            return FloorNum;
        }

        public void setFloorNum(String FloorNum) {
            this.FloorNum = FloorNum;
        }

        public String getParkingName() {
            return ParkingName;
        }

        public void setParkingName(String ParkingName) {
            this.ParkingName = ParkingName;
        }

        public UserModelData getUserModel() {
            return UserModel;
        }

        public void setUserModel(UserModelData UserModel) {
            this.UserModel = UserModel;
        }

        public String getTendChartX() {
            return TendChartX;
        }

        public void setTendChartX(String TendChartX) {
            this.TendChartX = TendChartX;
        }

        public String getTendChartY() {
            return TendChartY;
        }

        public void setTendChartY(String TendChartY) {
            this.TendChartY = TendChartY;
        }

        public String getFixedChartY() {
            return FixedChartY;
        }

        public void setFixedChartY(String FixedChartY) {
            this.FixedChartY = FixedChartY;
        }

        public String getParkChartX() {
            return ParkChartX;
        }

        public void setParkChartX(String ParkChartX) {
            this.ParkChartX = ParkChartX;
        }

        public String getParkChartY() {
            return ParkChartY;
        }

        public void setParkChartY(String ParkChartY) {
            this.ParkChartY = ParkChartY;
        }

        public String getFixedParkChartY() {
            return FixedParkChartY;
        }

        public void setFixedParkChartY(String FixedParkChartY) {
            this.FixedParkChartY = FixedParkChartY;
        }

        public String getDateLine() {
            return DateLine;
        }

        public void setDateLine(String dateLine) {
            DateLine = dateLine;
        }

        public List<LocalPhotoBean> getLocalPhoto() {
            return LocalPhoto;
        }

        public void setLocalPhoto(List<LocalPhotoBean> LocalPhoto) {
            this.LocalPhoto = LocalPhoto;
        }

        public List<DevelopModelBean> getDevelopModel() {
            return DevelopModel;
        }

        public void setDevelopModel(List<DevelopModelBean> DevelopModel) {
            this.DevelopModel = DevelopModel;
        }

        public List<PhotoListBean> getPhotoList() {
            return PhotoList;
        }

        public void setPhotoList(List<PhotoListBean> PhotoList) {
            this.PhotoList = PhotoList;
        }

        public List<DiscountData> getDiscount() {
            return Discount;
        }

        public void setDiscount(List<DiscountData> Discount) {
            this.Discount = Discount;
        }
        public static class DiscountData {

            /**
             * title : 可分期
             * textColor :
             */

            private String title;
            private String textColor;
            private String backColor;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getTextColor() {
                return textColor;
            }

            public void setTextColor(String textColor) {
                this.textColor = textColor;
            }

            public String getBackColor() {
                return backColor;
            }

            public void setBackColor(String backColor) {
                this.backColor = backColor;
            }
        }
        public static class UserModelData implements Parcelable {
            /**
             * IsRealNameAuth : 1
             * Name : 私人
             * Sex : 1
             * photo : http://120.27.27.144:8003/upload/tx/44273bef45ce484296f17089061cde4a.jpg
             * CreateTime : 2017-11-16 03:56:49
             * UserType : 个人用户
             * PublishCount : 13
             * CommonCount : 13
             * CompleteCount : 0
             */

            private String IsRealNameAuth;
            private String Name;
            private int Sex;
            private String photo;
            private String CreateTime;
            private String UserType;
            private int PublishCount;
            private int CommonCount;
            private int CompleteCount;

            public String getIsRealNameAuth() {
                return IsRealNameAuth;
            }

            public void setIsRealNameAuth(String IsRealNameAuth) {
                this.IsRealNameAuth = IsRealNameAuth;
            }

            public String getName() {
                return Name;
            }

            public void setName(String Name) {
                this.Name = Name;
            }

            public int getSex() {
                return Sex;
            }

            public void setSex(int Sex) {
                this.Sex = Sex;
            }

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }

            public String getCreateTime() {
                return CreateTime;
            }

            public void setCreateTime(String CreateTime) {
                this.CreateTime = CreateTime;
            }

            public String getUserType() {
                return UserType;
            }

            public void setUserType(String UserType) {
                this.UserType = UserType;
            }

            public int getPublishCount() {
                return PublishCount;
            }

            public void setPublishCount(int PublishCount) {
                this.PublishCount = PublishCount;
            }

            public int getCommonCount() {
                return CommonCount;
            }

            public void setCommonCount(int CommonCount) {
                this.CommonCount = CommonCount;
            }

            public int getCompleteCount() {
                return CompleteCount;
            }

            public void setCompleteCount(int CompleteCount) {
                this.CompleteCount = CompleteCount;
            }


            public UserModelData() {
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeString(this.IsRealNameAuth);
                dest.writeString(this.Name);
                dest.writeInt(this.Sex);
                dest.writeString(this.photo);
                dest.writeString(this.CreateTime);
                dest.writeString(this.UserType);
                dest.writeInt(this.PublishCount);
                dest.writeInt(this.CommonCount);
                dest.writeInt(this.CompleteCount);
            }

            protected UserModelData(Parcel in) {
                this.IsRealNameAuth = in.readString();
                this.Name = in.readString();
                this.Sex = in.readInt();
                this.photo = in.readString();
                this.CreateTime = in.readString();
                this.UserType = in.readString();
                this.PublishCount = in.readInt();
                this.CommonCount = in.readInt();
                this.CompleteCount = in.readInt();
            }

            public static final Creator<UserModelData> CREATOR = new Creator<UserModelData>() {
                @Override
                public UserModelData createFromParcel(Parcel source) {
                    return new UserModelData(source);
                }

                @Override
                public UserModelData[] newArray(int size) {
                    return new UserModelData[size];
                }
            };
        }
        public static class LocalPhotoBean {
            /**
             * photoUrl : http://91tcw.cn/upload/201710/23/201710231538411644.jpg
             */

            private String photoUrl;

            public String getPhotoUrl() {
                return photoUrl;
            }

            public void setPhotoUrl(String photoUrl) {
                this.photoUrl = photoUrl;
            }
        }

        public static class DevelopModelBean {
            /**
             * Row : 1
             * Id : 185
             * Name : 郑州中基建设投资有限公司
             * Phone :
             * Photo : http://91tcw.cn/upload/201710/20/201710201806335366.png
             * City : 郑州市
             * Address :
             * BeginTime : 2017-10-20 00:00:00
             * SoldCount : 294
             * TotalCount : 600
             * RentingCount : 0
             * RentedCount : 0
             */

            private int Row;
            private int Id;
            private String Name;
            private String Phone;
            private String Photo;
            private String City;
            private String Address;
            private String BeginTime;
            private int SoldCount;
            private int TotalCount;
            private int RentingCount;
            private int RentedCount;

            public int getRow() {
                return Row;
            }

            public void setRow(int Row) {
                this.Row = Row;
            }

            public int getId() {
                return Id;
            }

            public void setId(int Id) {
                this.Id = Id;
            }

            public String getName() {
                return Name;
            }

            public void setName(String Name) {
                this.Name = Name;
            }

            public String getPhone() {
                return Phone;
            }

            public void setPhone(String Phone) {
                this.Phone = Phone;
            }

            public String getPhoto() {
                return Photo;
            }

            public void setPhoto(String Photo) {
                this.Photo = Photo;
            }

            public String getCity() {
                return City;
            }

            public void setCity(String City) {
                this.City = City;
            }

            public String getAddress() {
                return Address;
            }

            public void setAddress(String Address) {
                this.Address = Address;
            }

            public String getBeginTime() {
                return BeginTime;
            }

            public void setBeginTime(String BeginTime) {
                this.BeginTime = BeginTime;
            }

            public int getSoldCount() {
                return SoldCount;
            }

            public void setSoldCount(int SoldCount) {
                this.SoldCount = SoldCount;
            }

            public int getTotalCount() {
                return TotalCount;
            }

            public void setTotalCount(int TotalCount) {
                this.TotalCount = TotalCount;
            }

            public int getRentingCount() {
                return RentingCount;
            }

            public void setRentingCount(int RentingCount) {
                this.RentingCount = RentingCount;
            }

            public int getRentedCount() {
                return RentedCount;
            }

            public void setRentedCount(int RentedCount) {
                this.RentedCount = RentedCount;
            }
        }

        public static class PhotoListBean {
            /**
             * photoUrl : http://91tcw.cn/upload/201710/23/201710231542567586.jpg
             */

            private String photoUrl;

            public String getPhotoUrl() {
                return photoUrl;
            }

            public void setPhotoUrl(String photoUrl) {
                this.photoUrl = photoUrl;
            }
        }
    }
}
